package com.lemi.entity;

import com.lemi.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Map;

@Data
@Table(name = "sys_user")
public class User extends BaseEntity {
    private String userName;
    private String nickName;
    private String password;
    private String workNo;
    private Integer isUse;
    private Integer status;

    @Transient
    private Attachment attachment;

    @Transient
    private Map<Integer,String> roleMaps;

    @Transient
    private String roleIds;

}
